home *** CD-ROM | disk | FTP | other *** search
- Subject: ODF Popups
- Sent: 6/12/96 8:35 AM
- Received: 6/12/96 9:11 AM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- I am resending this message. It came back to me with an error.
-
-
- ------------------------------------------------------------------
-
- Hi,
- I've got two questions regarding popups in ODF 1.
-
- 1)
- My resource looks like this:
-
- FW_RPopupMenu
- (
- krInitialFont, // identifier
- { FW_FIX()...FW_FIX() }, // coordinates
- FW_kFixedBounds,
- FW_kPopupClickedMsg,
- FW_kFrameReceiver,
- 0,
- krInitialMenu, // resource id
- 0,
- 1,
- 4, // popupUseAddResMenu
- 'FONT',
- GENEVA9, // font
- ""
- )
-
- I want my popup to show all FONT's in my system. According to the
- comments in
- the ODF files and from what I know from Inside Macintosh this should
- work. But
- it doesn't. With this resource there is no popup at all in my view. When I
- replace 4 and 'FONT' with 0 and 0 everything works ok. Where am I missing
- the
- point? Are there any good ODF-samples on how to do this? I know they
- exist in
- the OpenDoc samples, but I want to do it the ODF-way.
-
- 2)
- For the menubar I can use a new resourcetype in an .fr file. Can we
- expect the
- same solution for popup menu's? Now we have to use 'MENU' resources and
- that
- seems to strictly Mac to me.
-
- Thanks.
-
- Leo Hagebeek
- AS-PLUS B.V.
- Naarden, The Netherlands
- E-mail: as-plus@abecon.nl -or- development@abecon.nl
- AppleLink: AS.PLUS
-
-
- ........................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- ........................................................................
-
-